import {getStorage, setStorage, clearStorage} from "./storage";

export default {
    // 用户信息
    userInfo: getStorage("user") || null,
    menus: sessionStorage.getItem("menus") || [], //权限配置菜单
    ident: sessionStorage.getItem("ident") || '',
    setStorage,
    clearStorage,
    searchValue:localStorage.getItem("searchValue")?JSON.parse(localStorage.getItem("searchValue")) : null,
    broadcast:null,
};
